<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>自动化点赞系统</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js" integrity="sha384-/mhDoLbDldZc3qpsJHpLogda//BVZbgYuw6kof4u2FrCedxOtgRZDTHgHUhOCVim" crossorigin="anonymous"></script>
</head>
<body>

<form action="{{ url_for('result') }}" method="post">
    <div class="mb-3 row">
    <label  class="col-sm-2 col-form-label">点赞地址</label>
        <div class="col-sm-10">
    <input type="input" class="form-control" name='address' value={{address}}>
            </div>
    </div>

    <div class="mb-3 row">
    <label class="col-sm-2 col-form-label">帖子ID</label>
           <div class="col-sm-10">
    <input type="input" class="form-control" name='ID' value={{ID}}>
                 </div>
    </div>

    <div class="mb-3 row">
    <label class="col-sm-2 col-form-label">点赞次数</label>
           <div class="col-sm-10">
    <input type="input" class="form-control" name='times' value={{times}}>
                 </div>
    </div>

    <div class="mb-3 row">
    <label class="form-label">IP池地址</label>
    <input type="input" class="form-control" name='ip_pool' value={{ip_pool}}>
    </div>

    <button type="submit" class="btn btn-primary">提交</button>
</form>
 <button class="btn btn-primary" id="de1" style="position: relative;
    left: 85px;
    top: -37px;" >查看状态</button>
<script>
    document.getElementById('de1').addEventListener('click',function(){
        window.open('http://66.103.214.148:39999/result2','_blank')
    })
</script>

</body>
</html>
